修订号 1

fs.stat(path, callback)

异步版的 stat(2). 回调函数(callback) 接收两个参数: (err, stats) ,其中 stats 是一个 fs.Stats 对象。 详情请参考 fs.Stats